package com.rogo.rogobox.controllers
{
	import com.rogo.mvc.interfaces.INotification;
	import com.rogo.mvc.sub.command.Command;
	import com.rogo.rogobox.models.UserProxy;
	
	public class UserProfileCommand extends Command
	{
		public function UserProfileCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			var userID:String = notification.param.toString();
			var userProxy:UserProxy = facade.retrieveProxy(UserProxy.NAME) as UserProxy;
			userProxy.loadUserInfo(userID);
		}
		
	}
}